<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span id="local-6989586621679069706"><span id="local-6989586621679069707"></span></span><span class="hs-comment">-- | TAI and leap-second maps for converting to UTC: most people won't need this module.</span><span>
</span><span id="line-2"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">Data.Time.Clock.Internal.AbsoluteTime</span><span>
</span><span id="line-3"></span><span class="hs-special">(</span><span>
</span><span id="line-4"></span><span>    </span><span class="hs-comment">-- TAI arithmetic</span><span>
</span><span id="line-5"></span><span>    </span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#AbsoluteTime"><span class="hs-identifier">AbsoluteTime</span></a></span><span class="hs-special">,</span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#taiEpoch"><span class="hs-identifier">taiEpoch</span></a></span><span class="hs-special">,</span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#addAbsoluteTime"><span class="hs-identifier">addAbsoluteTime</span></a></span><span class="hs-special">,</span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#diffAbsoluteTime"><span class="hs-identifier">diffAbsoluteTime</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-6"></span><span>    </span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#taiNominalDayStart"><span class="hs-identifier">taiNominalDayStart</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-7"></span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-8"></span><span>
</span><span id="line-9"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Data.Typeable.html#"><span class="hs-identifier">Data.Typeable</span></a></span><span>
</span><span id="line-10"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Data.Data.html#"><span class="hs-identifier">Data.Data</span></a></span><span>
</span><span id="line-11"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../deepseq/src/Control.DeepSeq.html#"><span class="hs-identifier">Control.DeepSeq</span></a></span><span>
</span><span id="line-12"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Data.Time.Calendar.Days.html"><span class="hs-identifier">Data.Time.Calendar.Days</span></a></span><span>
</span><span id="line-13"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.DiffTime.html"><span class="hs-identifier">Data.Time.Clock.Internal.DiffTime</span></a></span><span>
</span><span id="line-14"></span><span>
</span><span id="line-15"></span><span>
</span><span id="line-16"></span><span class="hs-comment">-- | AbsoluteTime is TAI, time as measured by a clock.</span><span>
</span><span id="line-17"></span><span class="hs-keyword">newtype</span><span> </span><span id="AbsoluteTime"><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#AbsoluteTime"><span class="hs-identifier hs-var">AbsoluteTime</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="MkAbsoluteTime"><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#MkAbsoluteTime"><span class="hs-identifier hs-var">MkAbsoluteTime</span></a></span></span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.DiffTime.html#DiffTime"><span class="hs-identifier hs-type">DiffTime</span></a></span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span id="local-6989586621679069683"><span id="local-6989586621679069688"><span class="annot"><span class="annottext">AbsoluteTime -&gt; AbsoluteTime -&gt; Bool
(AbsoluteTime -&gt; AbsoluteTime -&gt; Bool)
-&gt; (AbsoluteTime -&gt; AbsoluteTime -&gt; Bool) -&gt; Eq AbsoluteTime
forall a. (a -&gt; a -&gt; Bool) -&gt; (a -&gt; a -&gt; Bool) -&gt; Eq a
/= :: AbsoluteTime -&gt; AbsoluteTime -&gt; Bool
$c/= :: AbsoluteTime -&gt; AbsoluteTime -&gt; Bool
== :: AbsoluteTime -&gt; AbsoluteTime -&gt; Bool
$c== :: AbsoluteTime -&gt; AbsoluteTime -&gt; Bool
</span><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var">Eq</span></span></span></span><span class="hs-special">,</span><span id="local-6989586621679069650"><span id="local-6989586621679069654"><span id="local-6989586621679069658"><span id="local-6989586621679069662"><span id="local-6989586621679069666"><span id="local-6989586621679069670"><span id="local-6989586621679069675"><span class="annot"><span class="annottext">Eq AbsoluteTime
Eq AbsoluteTime
-&gt; (AbsoluteTime -&gt; AbsoluteTime -&gt; Ordering)
-&gt; (AbsoluteTime -&gt; AbsoluteTime -&gt; Bool)
-&gt; (AbsoluteTime -&gt; AbsoluteTime -&gt; Bool)
-&gt; (AbsoluteTime -&gt; AbsoluteTime -&gt; Bool)
-&gt; (AbsoluteTime -&gt; AbsoluteTime -&gt; Bool)
-&gt; (AbsoluteTime -&gt; AbsoluteTime -&gt; AbsoluteTime)
-&gt; (AbsoluteTime -&gt; AbsoluteTime -&gt; AbsoluteTime)
-&gt; Ord AbsoluteTime
AbsoluteTime -&gt; AbsoluteTime -&gt; Bool
AbsoluteTime -&gt; AbsoluteTime -&gt; Ordering
AbsoluteTime -&gt; AbsoluteTime -&gt; AbsoluteTime
forall a.
Eq a
-&gt; (a -&gt; a -&gt; Ordering)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; a)
-&gt; (a -&gt; a -&gt; a)
-&gt; Ord a
min :: AbsoluteTime -&gt; AbsoluteTime -&gt; AbsoluteTime
$cmin :: AbsoluteTime -&gt; AbsoluteTime -&gt; AbsoluteTime
max :: AbsoluteTime -&gt; AbsoluteTime -&gt; AbsoluteTime
$cmax :: AbsoluteTime -&gt; AbsoluteTime -&gt; AbsoluteTime
&gt;= :: AbsoluteTime -&gt; AbsoluteTime -&gt; Bool
$c&gt;= :: AbsoluteTime -&gt; AbsoluteTime -&gt; Bool
&gt; :: AbsoluteTime -&gt; AbsoluteTime -&gt; Bool
$c&gt; :: AbsoluteTime -&gt; AbsoluteTime -&gt; Bool
&lt;= :: AbsoluteTime -&gt; AbsoluteTime -&gt; Bool
$c&lt;= :: AbsoluteTime -&gt; AbsoluteTime -&gt; Bool
&lt; :: AbsoluteTime -&gt; AbsoluteTime -&gt; Bool
$c&lt; :: AbsoluteTime -&gt; AbsoluteTime -&gt; Bool
compare :: AbsoluteTime -&gt; AbsoluteTime -&gt; Ordering
$ccompare :: AbsoluteTime -&gt; AbsoluteTime -&gt; Ordering
</span><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Ord</span></span></span></span></span></span></span></span></span><span class="hs-special">,</span><span id="local-6989586621679069613"><span id="local-6989586621679069615"><span id="local-6989586621679069617"><span id="local-6989586621679069619"><span id="local-6989586621679069621"><span id="local-6989586621679069623"><span id="local-6989586621679069625"><span id="local-6989586621679069627"><span id="local-6989586621679069629"><span id="local-6989586621679069631"><span id="local-6989586621679069633"><span id="local-6989586621679069635"><span id="local-6989586621679069638"><span id="local-6989586621679069642"><span class="annot"><span class="annottext">Typeable AbsoluteTime
Typeable AbsoluteTime
-&gt; (forall (c :: * -&gt; *).
    (forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
    -&gt; (forall g. g -&gt; c g) -&gt; AbsoluteTime -&gt; c AbsoluteTime)
-&gt; (forall (c :: * -&gt; *).
    (forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
    -&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c AbsoluteTime)
-&gt; (AbsoluteTime -&gt; Constr)
-&gt; (AbsoluteTime -&gt; DataType)
-&gt; (forall (t :: * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d. Data d =&gt; c (t d)) -&gt; Maybe (c AbsoluteTime))
-&gt; (forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d e. (Data d, Data e) =&gt; c (t d e))
    -&gt; Maybe (c AbsoluteTime))
-&gt; ((forall b. Data b =&gt; b -&gt; b) -&gt; AbsoluteTime -&gt; AbsoluteTime)
-&gt; (forall r r'.
    (r -&gt; r' -&gt; r)
    -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; AbsoluteTime -&gt; r)
-&gt; (forall r r'.
    (r' -&gt; r -&gt; r)
    -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; AbsoluteTime -&gt; r)
-&gt; (forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; AbsoluteTime -&gt; [u])
-&gt; (forall u.
    Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; AbsoluteTime -&gt; u)
-&gt; (forall (m :: * -&gt; *).
    Monad m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; AbsoluteTime -&gt; m AbsoluteTime)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; AbsoluteTime -&gt; m AbsoluteTime)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; AbsoluteTime -&gt; m AbsoluteTime)
-&gt; Data AbsoluteTime
AbsoluteTime -&gt; DataType
AbsoluteTime -&gt; Constr
(forall b. Data b =&gt; b -&gt; b) -&gt; AbsoluteTime -&gt; AbsoluteTime
forall a.
Typeable a
-&gt; (forall (c :: * -&gt; *).
    (forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
    -&gt; (forall g. g -&gt; c g) -&gt; a -&gt; c a)
-&gt; (forall (c :: * -&gt; *).
    (forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
    -&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c a)
-&gt; (a -&gt; Constr)
-&gt; (a -&gt; DataType)
-&gt; (forall (t :: * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d. Data d =&gt; c (t d)) -&gt; Maybe (c a))
-&gt; (forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c a))
-&gt; ((forall b. Data b =&gt; b -&gt; b) -&gt; a -&gt; a)
-&gt; (forall r r'.
    (r -&gt; r' -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; a -&gt; r)
-&gt; (forall r r'.
    (r' -&gt; r -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; a -&gt; r)
-&gt; (forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; a -&gt; [u])
-&gt; (forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; a -&gt; u)
-&gt; (forall (m :: * -&gt; *).
    Monad m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; Data a
forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; AbsoluteTime -&gt; u
forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; AbsoluteTime -&gt; [u]
forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; AbsoluteTime -&gt; r
forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; AbsoluteTime -&gt; r
forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; AbsoluteTime -&gt; m AbsoluteTime
forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; AbsoluteTime -&gt; m AbsoluteTime
forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c AbsoluteTime
forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; AbsoluteTime -&gt; c AbsoluteTime
forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c AbsoluteTime)
forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c AbsoluteTime)
gmapMo :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; AbsoluteTime -&gt; m AbsoluteTime
$cgmapMo :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; AbsoluteTime -&gt; m AbsoluteTime
gmapMp :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; AbsoluteTime -&gt; m AbsoluteTime
$cgmapMp :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; AbsoluteTime -&gt; m AbsoluteTime
gmapM :: forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; AbsoluteTime -&gt; m AbsoluteTime
$cgmapM :: forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; AbsoluteTime -&gt; m AbsoluteTime
gmapQi :: forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; AbsoluteTime -&gt; u
$cgmapQi :: forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; AbsoluteTime -&gt; u
gmapQ :: forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; AbsoluteTime -&gt; [u]
$cgmapQ :: forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; AbsoluteTime -&gt; [u]
gmapQr :: forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; AbsoluteTime -&gt; r
$cgmapQr :: forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; AbsoluteTime -&gt; r
gmapQl :: forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; AbsoluteTime -&gt; r
$cgmapQl :: forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; AbsoluteTime -&gt; r
gmapT :: (forall b. Data b =&gt; b -&gt; b) -&gt; AbsoluteTime -&gt; AbsoluteTime
$cgmapT :: (forall b. Data b =&gt; b -&gt; b) -&gt; AbsoluteTime -&gt; AbsoluteTime
dataCast2 :: forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c AbsoluteTime)
$cdataCast2 :: forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c AbsoluteTime)
dataCast1 :: forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c AbsoluteTime)
$cdataCast1 :: forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c AbsoluteTime)
dataTypeOf :: AbsoluteTime -&gt; DataType
$cdataTypeOf :: AbsoluteTime -&gt; DataType
toConstr :: AbsoluteTime -&gt; Constr
$ctoConstr :: AbsoluteTime -&gt; Constr
gunfold :: forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c AbsoluteTime
$cgunfold :: forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c AbsoluteTime
gfoldl :: forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; AbsoluteTime -&gt; c AbsoluteTime
$cgfoldl :: forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; AbsoluteTime -&gt; c AbsoluteTime
</span><a href="../../base/src/Data.Data.html#Data"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Data</span></a></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span><span class="hs-special">,</span><span class="annot"><a href="../../base/src/Data.Typeable.Internal.html#Typeable"><span class="hs-identifier hs-type">Typeable</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-18"></span><span>
</span><span id="line-19"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="../../deepseq/src/Control.DeepSeq.html#NFData"><span class="hs-identifier hs-type">NFData</span></a></span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#AbsoluteTime"><span class="hs-identifier hs-type">AbsoluteTime</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-20"></span><span>    </span><span id="local-6989586621679069606"><span class="annot"><span class="annottext">rnf :: AbsoluteTime -&gt; ()
</span><a href="../../deepseq/src/Control.DeepSeq.html#rnf"><span class="hs-identifier hs-var hs-var hs-var hs-var">rnf</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#MkAbsoluteTime"><span class="hs-identifier hs-type">MkAbsoluteTime</span></a></span><span> </span><span id="local-6989586621679069604"><span class="annot"><span class="annottext">DiffTime
</span><a href="#local-6989586621679069604"><span class="hs-identifier hs-var">a</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">DiffTime -&gt; ()
forall a. NFData a =&gt; a -&gt; ()
</span><a href="../../deepseq/src/Control.DeepSeq.html#rnf"><span class="hs-identifier hs-var">rnf</span></a></span><span> </span><span class="annot"><span class="annottext">DiffTime
</span><a href="#local-6989586621679069604"><span class="hs-identifier hs-var">a</span></a></span><span>
</span><span id="line-21"></span><span>
</span><span id="line-22"></span><span class="hs-comment">-- | The epoch of TAI, which is 1858-11-17 00:00:00 TAI.</span><span>
</span><span id="line-23"></span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#taiEpoch"><span class="hs-identifier hs-type">taiEpoch</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#AbsoluteTime"><span class="hs-identifier hs-type">AbsoluteTime</span></a></span><span>
</span><span id="line-24"></span><span id="taiEpoch"><span class="annot"><span class="annottext">taiEpoch :: AbsoluteTime
</span><a href="Data.Time.Clock.Internal.AbsoluteTime.html#taiEpoch"><span class="hs-identifier hs-var hs-var">taiEpoch</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">DiffTime -&gt; AbsoluteTime
</span><a href="Data.Time.Clock.Internal.AbsoluteTime.html#MkAbsoluteTime"><span class="hs-identifier hs-var">MkAbsoluteTime</span></a></span><span> </span><span class="annot"><span class="annottext">DiffTime
</span><span class="hs-number">0</span></span><span>
</span><span id="line-25"></span><span>
</span><span id="line-26"></span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#taiNominalDayStart"><span class="hs-identifier hs-type">taiNominalDayStart</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Data.Time.Calendar.Days.html#Day"><span class="hs-identifier hs-type">Day</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#AbsoluteTime"><span class="hs-identifier hs-type">AbsoluteTime</span></a></span><span>
</span><span id="line-27"></span><span id="taiNominalDayStart"><span class="annot"><span class="annottext">taiNominalDayStart :: Day -&gt; AbsoluteTime
</span><a href="Data.Time.Clock.Internal.AbsoluteTime.html#taiNominalDayStart"><span class="hs-identifier hs-var hs-var">taiNominalDayStart</span></a></span></span><span> </span><span id="local-6989586621679069603"><span class="annot"><span class="annottext">Day
</span><a href="#local-6989586621679069603"><span class="hs-identifier hs-var">day</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">DiffTime -&gt; AbsoluteTime
</span><a href="Data.Time.Clock.Internal.AbsoluteTime.html#MkAbsoluteTime"><span class="hs-identifier hs-var">MkAbsoluteTime</span></a></span><span> </span><span class="annot"><span class="annottext">(DiffTime -&gt; AbsoluteTime) -&gt; DiffTime -&gt; AbsoluteTime
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="annot"><span class="annottext">Integer -&gt; DiffTime
forall a b. (Real a, Fractional b) =&gt; a -&gt; b
</span><a href="../../base/src/GHC.Real.html#realToFrac"><span class="hs-identifier hs-var">realToFrac</span></a></span><span> </span><span class="annot"><span class="annottext">(Integer -&gt; DiffTime) -&gt; Integer -&gt; DiffTime
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Day -&gt; Integer
</span><a href="Data.Time.Calendar.Days.html#toModifiedJulianDay"><span class="hs-identifier hs-var hs-var">toModifiedJulianDay</span></a></span><span> </span><span class="annot"><span class="annottext">Day
</span><a href="#local-6989586621679069603"><span class="hs-identifier hs-var">day</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Integer -&gt; Integer -&gt; Integer
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Num.html#%2A"><span class="hs-operator hs-var">*</span></a></span><span> </span><span class="annot"><span class="annottext">Integer
</span><span class="hs-number">86400</span></span><span>
</span><span id="line-28"></span><span>
</span><span id="line-29"></span><span class="hs-comment">-- | addAbsoluteTime a b = a + b</span><span>
</span><span id="line-30"></span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#addAbsoluteTime"><span class="hs-identifier hs-type">addAbsoluteTime</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.DiffTime.html#DiffTime"><span class="hs-identifier hs-type">DiffTime</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#AbsoluteTime"><span class="hs-identifier hs-type">AbsoluteTime</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#AbsoluteTime"><span class="hs-identifier hs-type">AbsoluteTime</span></a></span><span>
</span><span id="line-31"></span><span id="addAbsoluteTime"><span class="annot"><span class="annottext">addAbsoluteTime :: DiffTime -&gt; AbsoluteTime -&gt; AbsoluteTime
</span><a href="Data.Time.Clock.Internal.AbsoluteTime.html#addAbsoluteTime"><span class="hs-identifier hs-var hs-var">addAbsoluteTime</span></a></span></span><span> </span><span id="local-6989586621679069600"><span class="annot"><span class="annottext">DiffTime
</span><a href="#local-6989586621679069600"><span class="hs-identifier hs-var">t</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#MkAbsoluteTime"><span class="hs-identifier hs-type">MkAbsoluteTime</span></a></span><span> </span><span id="local-6989586621679069599"><span class="annot"><span class="annottext">DiffTime
</span><a href="#local-6989586621679069599"><span class="hs-identifier hs-var">a</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">DiffTime -&gt; AbsoluteTime
</span><a href="Data.Time.Clock.Internal.AbsoluteTime.html#MkAbsoluteTime"><span class="hs-identifier hs-var">MkAbsoluteTime</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">DiffTime
</span><a href="#local-6989586621679069599"><span class="hs-identifier hs-var">a</span></a></span><span> </span><span class="annot"><span class="annottext">DiffTime -&gt; DiffTime -&gt; DiffTime
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Num.html#%2B"><span class="hs-operator hs-var">+</span></a></span><span> </span><span class="annot"><span class="annottext">DiffTime
</span><a href="#local-6989586621679069600"><span class="hs-identifier hs-var">t</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-32"></span><span>
</span><span id="line-33"></span><span class="hs-comment">-- | diffAbsoluteTime a b = a - b</span><span>
</span><span id="line-34"></span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#diffAbsoluteTime"><span class="hs-identifier hs-type">diffAbsoluteTime</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#AbsoluteTime"><span class="hs-identifier hs-type">AbsoluteTime</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#AbsoluteTime"><span class="hs-identifier hs-type">AbsoluteTime</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.DiffTime.html#DiffTime"><span class="hs-identifier hs-type">DiffTime</span></a></span><span>
</span><span id="line-35"></span><span id="diffAbsoluteTime"><span class="annot"><span class="annottext">diffAbsoluteTime :: AbsoluteTime -&gt; AbsoluteTime -&gt; DiffTime
</span><a href="Data.Time.Clock.Internal.AbsoluteTime.html#diffAbsoluteTime"><span class="hs-identifier hs-var hs-var">diffAbsoluteTime</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#MkAbsoluteTime"><span class="hs-identifier hs-type">MkAbsoluteTime</span></a></span><span> </span><span id="local-6989586621679069597"><span class="annot"><span class="annottext">DiffTime
</span><a href="#local-6989586621679069597"><span class="hs-identifier hs-var">a</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Data.Time.Clock.Internal.AbsoluteTime.html#MkAbsoluteTime"><span class="hs-identifier hs-type">MkAbsoluteTime</span></a></span><span> </span><span id="local-6989586621679069596"><span class="annot"><span class="annottext">DiffTime
</span><a href="#local-6989586621679069596"><span class="hs-identifier hs-var">b</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">DiffTime
</span><a href="#local-6989586621679069597"><span class="hs-identifier hs-var">a</span></a></span><span> </span><span class="annot"><span class="annottext">DiffTime -&gt; DiffTime -&gt; DiffTime
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Num.html#-"><span class="hs-glyph hs-var">-</span></a></span><span> </span><span class="annot"><span class="annottext">DiffTime
</span><a href="#local-6989586621679069596"><span class="hs-identifier hs-var">b</span></a></span><span>
</span><span id="line-36"></span></pre></body></html>